<%@ include file="head.jsp"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>一起把人评</title>
<script type="text/javascript">
function mysubmit(){

	var keyword = $("#keyword")[0].value;

	var data = "word=" +keyword;
	$.ajax( {
		type : "post",
		url : "Search",
		dataType : "json",
		data : data,
		success : function(rsp) {
			alert(rsp);
		}
	});
	
}

</script>
</head>
<body onload="$('#keyword').focus();" class="index">

<div style="padding-top: 200px; height: 500px;" class="middle">
<form action="Search" name="searchform" method="post"><span
	style="font-size: 32px; color: rgb(255, 255, 255);">一起把人评</span><br />

<table align="center">
<tr>
<td style="padding-top: 16px;">
<input type="text" class="text" id="keyword" name="word" />
</td>
<td style="padding-left: 15px;">
<img onclick="mysubmit()" src="img/login.jpg" class="cursor" />
</td>
</tr>
</table>

</form>
</div>
<div id='bottom' class='bottom'><jsp:include
	page="../html/bottom.htm" flush="true"></jsp:include></div>
</body>
</html>